<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			*{
				margin: 0;
				padding: 0;
			}
			
			div{
				width: 150px;
				margin: 0 auto;
			}
			div h3{
				width: 150px;
				height: 30px;
				background: #0f0;
				text-align: center;
				
			}
			div ul{
				width: 150px;
				border: 1px solid red;
				list-style: none;
				display: none;
			}
			div ul li{
				width: 150px;
				height: 30px;
				font-size: 25px;
			}
		</style>
		<script src="js/jquery-3.4.1.min.js"></script>
		<script type="text/javascript">
			$(function(){
				$("h3").click(function(){
					$("ul").show();
					return false;
				});
				
				$(document).click(function(){
					$("ul").hide();
				});
			});
		</script>
	</head>
	<body>
		<div>
		   <h3>新闻</h3>
		   <ul>
		   	<li>aaa</li>
		   	<li>bbb</li>
		   	<li>ccc</li>
		   </ul>
		</div>
	</body>
</html>
